package com.zc.mapper;

import com.zc.baseMapper.ZcBaseMapper;
import com.zc.pojo.SysResource;
import com.zc.dto.SysResourceDto;
import com.zc.dto.TreeSysResourceDto;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface SysResourceMapper extends ZcBaseMapper<SysResource> {

    List<SysResourceDto> listSysResourceByRoleId(Map<String,Long> map);

    List<TreeSysResourceDto> listSysResource(Map<String,Long> map);
}